<?php if (!empty($groups)) {?>
<table class="b_table groups_table">
	<thead>
		<tr>
			<th width="120">小组名称</th>
			<th width="60">人数</th>
			<th class="text_left">小组介绍</th>
			<th width="100">发起人</th>
		</tr>
	</thead>
	<tbody>
		<?php foreach($groups as $group) { ?>
		<tr>
			<td><a href="<?php echo site_url("group/view?group_id=" . $group['id']);?>"><?php echo $group['title']?></a></td>
			<td class="grey"><?php echo $group['member_count']?></td>
			<td class="grey text_left">
				<div style="width:100%;height:39px;overflow:hidden;font-size:12px"><?php echo $group['introduction'];?>
			</td>
			<td class="grey">
				<a href="/user/show?user_id=<?php echo $group['created_by'];?>"><?php echo $group['nickname'];?></a>
			</td>
		</tr>
		<?php } ?>
	</tbody>
</table>
<?php }?>